home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / libelf / elf_end.z / elf_end
Encoding:
Text File  |  2002-10-03  |  1.6 KB  |  38 lines

  1. ELF_END(3E)                                          Last changed: 10-13-98
  2.  
  3.  
  4. NNAAMMEE
  5.      eellff__eenndd - Finish using an object file
  6.  
  7. SSYYNNOOPPSSIISS
  8.      cccc [_f_l_a_g ...] _f_i_l_e ...  --lleellff [_l_i_b_r_a_r_y ...]
  9.  
  10.      ##iinncclluuddee <<lliibbeellff..hh>>
  11.  
  12.      iinntt eellff__eenndd((EEllff **eellff));;
  13.  
  14. IIMMPPLLEEMMEENNTTAATTIIOONN
  15.      IRIX systems
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.      eellff__eenndd terminates an ELF descriptor, eellff, in a program and
  19.      deallocates data associated with the descriptor.  Until the program
  20.      terminates a descriptor, the data remains allocated.  eellff should be a
  21.      value previously returned by eellff__bbeeggiinn; a null pointer is allowed as
  22.      an argument, to simplify error handling.  If the program is to write
  23.      data associated with the ELF descriptor to the file, specify
  24.      eellff__uuppddaattee before calling eellff__eenndd.
  25.  
  26.      A descriptor can have more than one activation (see the eellff__bbeeggiinn(3E)
  27.      man page).  Calling eellff__eenndd removes one activation and returns the
  28.      remaining activation count.  The library does not terminate the
  29.      descriptor until the activation count reaches zero.  Consequently, a
  30.      zero return value indicates that the ELF descriptor is no longer
  31.      valid.
  32.  
  33. SSEEEE AALLSSOO
  34.      eellff(3E), eellff__bbeeggiinn(3E), eellff__uuppddaattee(3E)
  35.  
  36.      This man page is available only online.
  37.  
  38.